/***
 *
 * UMI3 运行时配置文件
 * https://umijs.org/zh-CN/docs/runtime-config
 * 一般用来搞后端动态路由
 */

export function patchRoutes(props: any) {
  // routes.unshift({
  //   path: '/foo',
  //   exact: true,
  //   component: require('@/extraRoutes/foo').default,
  // });
}

// @ts-ignore
export const layout = ({ initialState }) => {
  // console.log('initialState',initialState)
  return {
    // rightContentRender: () => <div>right</div>,
    // footerRender: () => <div>footer</div>,
    // menuHeaderRender:undefined
  };
};
